package com.example.person;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;



@FeignClient("spring-lb-provider")
public interface PersonService {
  
	@GetMapping(value="/hello/{name}")
	String hello(@PathVariable("name") String name);
	
	@GetMapping(value="/call/{id}")
	Police call(@PathVariable("id") Integer id);
	
}
